Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.platform.preview.adapter.contrib

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.preview.adapter.contrib">
  <extension target="org.nuxeo.ecm.platform.preview.adapter.PreviewAdapterManagerComponent"
    point="AdapterFactory">

    <documentation>
    Default builtin adapters
    </documentation>

    <previewAdapter name="notePreviewAdapter" enabled="false">
      <typeName>Note</typeName>
      <class>org.nuxeo.ecm.platform.preview.adapter.factories.NotePreviewAdapter</class>
    </previewAdapter>

  </extension>

    <extension target="org.nuxeo.ecm.platform.preview.adapter.PreviewAdapterManagerComponent"
    point="MimeTypePreviewer">
      <previewer class="org.nuxeo.ecm.platform.preview.adapter.ImagePreviewer">
        <pattern>image.*</pattern>
      </previewer>
      <previewer class="org.nuxeo.ecm.platform.preview.adapter.HtmlPreviewer">
        <pattern>text/html</pattern>
      </previewer>
      <previewer class="org.nuxeo.ecm.platform.preview.adapter.PlainTextPreviewer">
        <pattern>text/plain</pattern>
      </previewer>
    </extension>
</component>